package com.ruoyi.rescue.api.domain;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 用户列表对象 che_user
 * 
 * @author ruoyi
 * @date 2024-06-04
 */
public class CheUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long id;

    /** 用户账号 */
    private String username;

    /** 密码 */
    private String password;

    /** 用户名 */
    @Excel(name = "用户名")
    private String realName;

    /** 头像 */
    private String avatar;

    /** 手机 */
    @Excel(name = "手机")
    private String phone;

    /** 余额 */
    private Long money;

    /** 支付密码 */
    private Long payPassword;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUsername(String username) 
    {
        this.username = username;
    }

    public String getUsername() 
    {
        return username;
    }
    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }
    public void setRealName(String realName) 
    {
        this.realName = realName;
    }

    public String getRealName() 
    {
        return realName;
    }
    public void setAvatar(String avatar) 
    {
        this.avatar = avatar;
    }

    public String getAvatar() 
    {
        return avatar;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setMoney(Long money) 
    {
        this.money = money;
    }

    public Long getMoney() 
    {
        return money;
    }
    public void setPayPassword(Long payPassword) 
    {
        this.payPassword = payPassword;
    }

    public Long getPayPassword() 
    {
        return payPassword;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("username", getUsername())
            .append("password", getPassword())
            .append("realName", getRealName())
            .append("avatar", getAvatar())
            .append("phone", getPhone())
            .append("money", getMoney())
            .append("payPassword", getPayPassword())
            .toString();
    }
}
